<?php
	$yhendus=new mysqli("localhost","if13","ifikad", "if13_Martin");
	if(isSet($_REQUEST["eesnimi"])){
		$kask=$yhendus->prepate("INSERT INTO mardid (eesnimi, perekonnanimi, aeg) VALUES(?,?,?)");
		$kask->bind_param("sss", $_REQUEST["eesnimi"], $_REQUEST["perekonnanimi"],
			$_REQUEST["algusaeg"]);
		$kask->execute();
	}
	$yhendus->close();